Skip to content

Add hamburger animation #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 17, 2020
Merged

Add hamburger animation #211

merged 4 commits into from
Aug 17, 2020

Conversation

AndrewGable
Copy link
Contributor

@AndrewGable AndrewGable commented Aug 16, 2020

Fixes #143
Fixes bullet point one of #152

@AndrewGable AndrewGable self-assigned this Aug 16, 2020

Animated.timing(this.state.animationTranslateX, {
toValue: animationFinalValue,
duration: 250,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add timing functions here? Like easing, etc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are the docs (https://reactnative.dev/docs/animated#configuring-animations), I am happy to tweak to use any animation type!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yes, it does look like there is easing: https://reactnative.dev/docs/easing

@shawnborton
Copy link
Contributor

Pushed a couple style tweaks, merge is all you @tgolen

@AndrewGable
Copy link
Contributor Author

Fixed those comments up

@tgolen tgolen merged commit 63d568f into master Aug 17, 2020
@tgolen tgolen deleted the andrew-animated-burger branch August 17, 2020 21:33
mountiny pushed a commit that referenced this pull request Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add hamburger animation
3 participants